package com.chang.entity;

import org.springframework.stereotype.Component;

import java.util.Date;

public class Essay {
    private Integer essay_Id;
    private String essay_title;
    private String essay_author;
    private String essay_content;
    private Date essay_time;
    private String essay_type;

    public Integer getEssay_Id() {
        return essay_Id;
    }

    public void setEssay_Id(Integer essay_Id) {
        this.essay_Id = essay_Id;
    }

    public String getEssay_title() {
        return essay_title;
    }

    public void setEssay_title(String essay_title) {
        this.essay_title = essay_title;
    }

    public String getEssay_author() {
        return essay_author;
    }

    public void setEssay_author(String essay_author) {
        this.essay_author = essay_author;
    }

    public String getEssay_content() {
        return essay_content;
    }

    public void setEssay_content(String essay_content) {
        this.essay_content = essay_content;
    }

    public Date getEssay_time() {
        return essay_time;
    }

    public void setEssay_time(Date essay_time) {
        this.essay_time = essay_time;
    }

    public String getEssay_type() {
        return essay_type;
    }

    public void setEssay_type(String essay_type) {
        this.essay_type = essay_type;
    }

    @Override
    public String toString() {
        return "Essay{" +
                "essay_Id='" + essay_Id + '\'' +
                ", essay_title='" + essay_title + '\'' +
                ", essay_author='" + essay_author + '\'' +
                ", essay_content='" + essay_content + '\'' +
                ", essay_time=" + essay_time +
                ", essay_type='" + essay_type + '\'' +
                '}';
    }
}
